﻿using PhuLeBooze.Global;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PhuLeBussinessObject.Core;

namespace PhuLeBooze.Views.Navigation
{
    public partial class SubMenu : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                IList<CListData> list = new CCore().GetListData("TopMenu");
                ddlParentName.DataSource = list;
                ddlParentName.DataTextField = "Name";
                ddlParentName.DataValueField = "ID";
                ddlParentName.DataBind();
            }
        }
    }
}